module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
    "postcss-rem-to-responsive-pixel": {
      // 32 意味着 1rem = 32rpx
      rootValue: process.env.TARO_ENV === "weapp" ? 32 : 16,
      // 默认所有属性都转化
      propList: ["*"],
      // 转化的单位,可以变成 px / rpx
      transformUnit: process.env.TARO_ENV === "weapp" ? "rpx" : "px",
    },
  },
};
